﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="STT.Admin.Default"
    ValidateRequest="false" EnableEventValidation="false" %>

<%@ Register Src="~/Admin/UserControls/ucDanhSachNguoiDung.ascx" TagPrefix="uc1"
    TagName="ucDanhSachNguoiDung" %>
<%@ Register Src="~/Admin/UserControls/ucNhacNho.ascx" TagPrefix="uc1" TagName="ucNhacNho" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <meta charset="utf-8" />
    <title>Quản lý cán bộ tập đoàn Điện Lực</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="../Css/bootstrap.min.css" rel="stylesheet" />
    <link href="../Css/bootstrap-responsive.min.css" rel="stylesheet" />
    <link href="../Css/maruti-style.css" rel="stylesheet" />
    <link href="../Css/maruti-media.css" rel="stylesheet" />
    <script src="../js/jquery.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <%--<script src="../js/jquery.quickValidate.min.js"></script>--%>
</head>
<body>

    <form id="form" runat="server" class="form-horizontal" enctype="multipart/form-data">
        <!--Header-part-->
        <div id="header">
            <img src="../img/logo.png" alt="Alternate Text" class="logo" />
            <img src="../img/banner.png" alt="Alternate Text" class="banner" />
            <%--<img src="../img/images.jpg" alt="Alternate Text" />--%>
        </div>
        <!--top-Header-menu-->
        <div id="user-nav" class="navbar navbar-inverse">
            <ul class="nav">
                <li class=""><a title="" href="Default.aspx?idpage=cn">
                    <img src="../img/icons/32/people.png" alt="Alternate Text" class="icon16" /><span
                        class="text"> Cá nhân</span></a>
                </li>
                <li class="">
                    <%--<a title="" href="#">
                        <i class="icon icon-off"></i>
                        <span
                    class="text"> Thoát</span></a>--%>
                    <asp:LinkButton ID="lbtnthoat" runat="server" OnClick="lbtnthoat_Click">
                    <img src="../img/logout.jpg" alt="Alternate Text" />
                        <span class="text"> Thoát</span>
                    </asp:LinkButton>
                </li>

            </ul>
        </div>
    
        <!--close-top-Header-menu-->
        <div id="sidebar">
            <a href="#" class="visible-phone"><i class="icon icon-th"></i>Danh mục chức năng</a>
            <ul>
                <li class="active">
                    <a href="Default.aspx?idpage=1" class="tip-right" data-original-title="Truy cập nhanh">
                        <%--<i class="icon icon-th-large"></i>--%>
                        <i class="icon icon-home"></i>
                    </a>
                </li>
                <%-- <li class="active" >
                    <a href="../../Default.aspx" runat="server" id="tc" class="tip-right" data-original-title="Trang chủ" ><i class="icon icon-home"></i>
                       </a>
                </li>--%>
                <% MenuDong("0"); %>
            </ul>
        </div>
        <div id="content">
            <div class="container-fluid">
                <div class="row-fluid">
                    <div class="span9">
                        <asp:PlaceHolder ID="PlaceHolder" runat="server">
                            <%-- Nơi đặt UserControl --%>
                        </asp:PlaceHolder>
                    </div>

                    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                    <div class="span3">
                        <uc1:ucnhacnho runat="server" id="ucNhacNho" />
                        <uc1:ucDanhSachNguoiDung runat="server" ID="ucDanhSachNguoiDung" />
                    </div>
                </div>
            </div>
        </div>
        <footer>
            <div id="footer">
                <label><b>Bản quyền:</b><b class="lbThongBao">© 2014</b><b>Đơn vị quản lý:</b><b
                    class="lbThongBao">Delay Group</b></label>
            </div>
        </footer>
        <div id="Info">
            <div id="noidung">
                <label></label>
            </div>
        </div>
    </form>
    <script type="text/javascript">

        var action = '<%= Session["action"] == null ? "" : Session["action"].ToString() %>'
        if (action != '') {
            $('‪#‎Info‬').css('display', 'block')
            if (action == '1')
                $('#Info').find('label').html("Thêm thành công")
            else
                if (action == '2')
                    $('#Info').find('label').html("Sửa thành công")
                else
                    if (action == '3')
                        $('#Info').find('label').html("Xóa thành công")

            $("#Info").animate({
                bottom: 40,
                opacity: "show"
            }, 2000, function () {
                $('#Info').css('display', 'none');
            });
        }
        <% if (Session["action"] != null) Session["action"] = null;%> 

    </script>
    <script src="../Scripts/jquery.signalR-2.0.3.min.js"></script>
    <script src="/signalr/hubs" type="text/javascript"></script>
    <script src="../js/xuly.js"></script>
    <script src="../js/maruti.js"></script>
    <script src="../../js/chat.js"></script>
</body>
</html>
